[INFO] cloning repository https://github.com/jelipo/io
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jelipo/io" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjelipo%2Fio", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjelipo%2Fio'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ae5bba464c791687c259ee49bb7b9fc638b8a5bd
[INFO] checking jelipo/io against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjelipo%2Fio" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jelipo/io
[INFO] finished tweaking git repo https://github.com/jelipo/io
[INFO] tweaked toml for git repo https://github.com/jelipo/io written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jelipo/io on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jelipo/io already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded io-uring v0.6.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0fb0ac28dc4cac371f71ae925861dacd75f804ced33eef95a85aa4ac79605474
[INFO] running `Command { std: "docker" "start" "-a" "0fb0ac28dc4cac371f71ae925861dacd75f804ced33eef95a85aa4ac79605474", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0fb0ac28dc4cac371f71ae925861dacd75f804ced33eef95a85aa4ac79605474", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0fb0ac28dc4cac371f71ae925861dacd75f804ced33eef95a85aa4ac79605474", kill_on_drop: false }`
[INFO] [stdout] 0fb0ac28dc4cac371f71ae925861dacd75f804ced33eef95a85aa4ac79605474
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 26824f3b56363c1e6f6491007b4ecebd67b1100e7f22ac6b7e8ddbbb3a8fc23e
[INFO] running `Command { std: "docker" "start" "-a" "26824f3b56363c1e6f6491007b4ecebd67b1100e7f22ac6b7e8ddbbb3a8fc23e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]    Compiling io-uring v0.6.4
[INFO] [stderr]    Compiling anyhow v1.0.83
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]    Compiling nix v0.28.0
[INFO] [stderr]     Checking io v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::aio::my_aio`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::aio::my_aio;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::epoll::my_epoll`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::epoll::my_epoll;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> src/aio.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 24 |     while (aior.as_mut().error() == Err(Errno::EINPROGRESS)) {
[INFO] [stdout]    |           ^                                                ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 24 -     while (aior.as_mut().error() == Err(Errno::EINPROGRESS)) {
[INFO] [stdout] 24 +     while aior.as_mut().error() == Err(Errno::EINPROGRESS) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/io_uring.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error` and `anyhow`
[INFO] [stdout]  --> src/io_uring.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use anyhow::{anyhow, Error, Result};
[INFO] [stdout]   |              ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/epoll.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | /     loop {
[INFO] [stdout] 29 | |
[INFO] [stdout] 30 | |         // 这里的sleep，假装自己去处理别的数据了，不阻塞等着网络
[INFO] [stdout] 31 | |         sleep(Duration::from_secs(1));
[INFO] [stdout] ...  |
[INFO] [stdout] 58 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 59 |
[INFO] [stdout] 60 |       Ok(())
[INFO] [stdout]    |       ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/poll.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let (mut stream, _) = listener.accept()?;
[INFO] [stdout]    |          ----^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/epoll.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let (mut stream, _) = listener.accept()?;
[INFO] [stdout]    |          ----^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/epoll.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut event = EpollEvent::new(EpollFlags::EPOLLIN, fd.as_raw_fd() as u64);
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stream`
[INFO] [stdout]   --> src/io_uring.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 let stream = unsafe { TcpStream::from_raw_fd(fd) };
[INFO] [stdout]    |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/io_uring.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let (mut stream, _) = listener.accept()?;
[INFO] [stdout]    |          ----^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `my_poll` is never used
[INFO] [stdout]   --> src/poll.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn my_poll(addr: &str) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `my_aio` is never used
[INFO] [stdout]   --> src/aio.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn my_aio() -> Result<()> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `my_epoll` is never used
[INFO] [stdout]  --> src/epoll.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn my_epoll(addr: &str) -> Result<()> {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::aio::my_aio`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::aio::my_aio;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::epoll::my_epoll`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::epoll::my_epoll;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> src/aio.rs:24:11
[INFO] [stdout]    |
[INFO] [stdout] 24 |     while (aior.as_mut().error() == Err(Errno::EINPROGRESS)) {
[INFO] [stdout]    |           ^                                                ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 24 -     while (aior.as_mut().error() == Err(Errno::EINPROGRESS)) {
[INFO] [stdout] 24 +     while aior.as_mut().error() == Err(Errno::EINPROGRESS) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/io_uring.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Error` and `anyhow`
[INFO] [stdout]  --> src/io_uring.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use anyhow::{anyhow, Error, Result};
[INFO] [stdout]   |              ^^^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/epoll.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | /     loop {
[INFO] [stdout] 29 | |
[INFO] [stdout] 30 | |         // 这里的sleep，假装自己去处理别的数据了，不阻塞等着网络
[INFO] [stdout] 31 | |         sleep(Duration::from_secs(1));
[INFO] [stdout] ...  |
[INFO] [stdout] 58 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 59 |
[INFO] [stdout] 60 |       Ok(())
[INFO] [stdout]    |       ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/poll.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let (mut stream, _) = listener.accept()?;
[INFO] [stdout]    |          ----^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/epoll.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let (mut stream, _) = listener.accept()?;
[INFO] [stdout]    |          ----^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/epoll.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut event = EpollEvent::new(EpollFlags::EPOLLIN, fd.as_raw_fd() as u64);
[INFO] [stdout]    |         ----^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `stream`
[INFO] [stdout]   --> src/io_uring.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 let stream = unsafe { TcpStream::from_raw_fd(fd) };
[INFO] [stdout]    |                     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/io_uring.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let (mut stream, _) = listener.accept()?;
[INFO] [stdout]    |          ----^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `my_poll` is never used
[INFO] [stdout]   --> src/poll.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn my_poll(addr: &str) -> Result<()> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `my_aio` is never used
[INFO] [stdout]   --> src/aio.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn my_aio() -> Result<()> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `my_epoll` is never used
[INFO] [stdout]  --> src/epoll.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn my_epoll(addr: &str) -> Result<()> {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.96s
[INFO] running `Command { std: "docker" "inspect" "26824f3b56363c1e6f6491007b4ecebd67b1100e7f22ac6b7e8ddbbb3a8fc23e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "26824f3b56363c1e6f6491007b4ecebd67b1100e7f22ac6b7e8ddbbb3a8fc23e", kill_on_drop: false }`
[INFO] [stdout] 26824f3b56363c1e6f6491007b4ecebd67b1100e7f22ac6b7e8ddbbb3a8fc23e
